package com.lwm.service;


import com.github.pagehelper.PageInfo;
import com.lwm.domain.ReplenishmentApproval;
import com.lwm.domain.ResponseResult;
import com.lwm.dto.PageParams;

/**
 * 补货申请表(ReplenishmentApproval)表服务接口
 *
 * @author lzl
 * @since 2023-10-17 18:11:12
 */
public interface ReplenishmentApprovalService {


    /**
     * 按id获取
     *
     * @param id id
     * @return {@link ResponseResult}<{@link ReplenishmentApproval}>
     */
    ResponseResult<ReplenishmentApproval> getById(Long id);

    /**
     * 条件分页
     *
     * @param replenishmentApproval 补货批准
     * @param pageParams            页面参数
     * @return {@link ResponseResult}<{@link PageInfo}<{@link ReplenishmentApproval}>>
     */
    ResponseResult<PageInfo<ReplenishmentApproval>> page(ReplenishmentApproval replenishmentApproval, PageParams pageParams);

    /**
     * 修改
     *
     * @param replenishmentApproval 补货批准
     * @return {@link ResponseResult}
     */
    ResponseResult update(ReplenishmentApproval replenishmentApproval);
}
